package com.nfit.shopweb.service;

import com.github.pagehelper.PageInfo;
import com.nfit.shopmodel.entity.base.ProductUnit;
import io.swagger.v3.oas.annotations.media.Schema;

import java.util.List;

/**
 * ClassName:ProductUnitService
 * Package:com.nfit.shopweb.service
 * Description
 *
 * @Author L
 * @Create 2024/12/17 9:06
 */
@Schema(description = "商品单位业务接口")
public interface ProductUnitService {
    /**
     * 分页查询
     */
    PageInfo<ProductUnit> page(Integer pageNum, Integer pageSize);
    /**
     * 查询所有
     */
    List<ProductUnit> selectAll();
}
